package com.cjq.mall.wallet.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 查询交易明细的VO
 */

@Data
@ApiModel("查询交易明细的VO")
public class BusinessDetailVO implements Serializable {

    /**
     * 流水编号
     */
    @ApiModelProperty(value = "流水编号", position = 1)
    private String recordSn;

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名", position = 2)
    private String userName;

    /**
     * 交易类型
     */
    @ApiModelProperty(value = "交易类型", position = 3)
    private Integer type;

    /**
     * 对方Uid
     */
    @ApiModelProperty(value = "对方Uid", position = 4)
    private Long toUid;

    /**
     * 对方用户名
     */
    @ApiModelProperty(value = "对方用户名", position = 5)
    private String toName;

    /**
     * 交易金额
     */
    @ApiModelProperty(value = "交易金额", position = 6)
    private BigDecimal businessMoney;

    /**
     * 余额
     */
    @ApiModelProperty(value = "余额", position = 7)
    private BigDecimal money;

    /**
     * 交易时间
     */
    @ApiModelProperty(value = "交易时间", position = 8)
    private LocalDateTime gmtBusiness;

}
